package com.ruoyi.system.domain.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;

public class ResearchToolsDto {

    @Data
    public static class Query{
        @ApiModelProperty("身份证号")
        private String idcard;
        @ApiModelProperty("姓名")
        private String name;
        @ApiModelProperty("档案号")
        private String dnh;
        @ApiModelProperty("档案状态")
        private Byte status;
        @ApiModelProperty("所属项目")
        private Long projectId;
        @ApiModelProperty("数据来源")
        private Byte sourceType;
        @ApiModelProperty("入院开始日期")
        private Date startDate;
        @ApiModelProperty("入院结束日期")
        private Date endDate;
        @ApiModelProperty("所属科室")
        private Long deptId;
        @ApiModelProperty("诊断名称")
        private String zdmc;
        @ApiModelProperty("手术名称")
        private String ssmc;
    }

    @Data
    public static class Detail{
        @ApiModelProperty("档案ID")
        @NotNull(message = "请选择档案")
        private Long id;
    }
}
